home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 22
/
freelog 22.iso
/
Prog
/
Djgpp
/
GPC2952B.ZIP
/
doc
/
gpc
/
docdemos
/
schema1demo.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
2001-02-09
|
281 b
|
13 lines
program Schema1Demo;
type
PositiveInteger = (*@@ 1 .. MaxInt *) Integer;
RealArray (n: Integer) = array [1 .. n] of Real;
Matrix (n, m: PositiveInteger) = array [1 .. n, 1 .. m] of Integer;
var
Foo: RealArray (42);
begin
WriteLn (Foo.n) { yields 42 }
end.